
package gal.game.module.gal
{
	import com.zero.framework.interfaces.INotification;
	import com.zero.framework.interfaces.INotifyResponder;
	
	import gal.game.core.AppFacade;
	import gal.game.manager.SceneManger;
	import gal.game.notification.galScene.GalSceneNotification;
	
	import mx.core.Singleton;
	
	/**
	 * @author 缺硒
	 */
	public class GalModel implements INotifyResponder
	{
		private static var __instance:GalModel;
		
		public static function getInstance():GalModel
		{
			if(__instance == null)
				__instance = new GalModel(new Singleton());
			return __instance;
		}
		
		// 构造函数
		public function GalModel(s:Singleton)
		{
			AppFacade.getInstance().sendNotification(GalSceneNotification.SWITCH_BGD,
				{
					bid:"海"
				});
			
			AppFacade.getInstance().sendNotification(GalSceneNotification.SHOW_ROLE,
				{
					rid:"OL制服2",
					x:20
				});
		}
		//
		
		public function get notificationList():Array
		{
			return [
				
			];
		}
		
		public function notifyHandler(notification:INotification):void
		{
			switch(notification.getName())
			{
				
			}
		}
		
		
		private function runNextScript():void
		{
			
		}
		
	}
}
class Singleton{}